package com.example.demo.mapper;

import com.example.demo.entity.Notice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface NoticeMapper {
    List<Notice> selectNoticeList(Map<String, Object> params);
    
    int insertNotice(Notice notice);
    int updateNotice(Notice notice);
    int deleteNotice(@Param("id") Long id);
}
